<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!--头碎片-->
<head th:replace="fragment/Headfragment::Headfragment">
</head>

<body>
<div class="container-scroller">
    <div class="container-fluid page-body-wrapper full-page-wrapper">
        <div class="content-wrapper d-flex align-items-center auth">
            <div class="row w-100">
                <div class="col-lg-4 mx-auto">
                    <div class="auth-form-light text-left p-5">
                        <div class="brand-logo">
                            <img src="images/logo.svg">
                        </div>
                        <h4>你好！让我们开始吧。</h4>
                        <h6 class="font-weight-light">欢迎使用云客服</h6>
                        <h3  style="color: red" align="center" th:text="${session.message}"></h3>
                        <form action="/customerInfo/Customer-login" method="post" class="pt-3">
                            <div class="form-group">
                                <input type="email" class="form-control form-control-lg" id="exampleInputEmail1" placeholder="CustomerEmail" name="email">
                            </div>
                            <p style="color: red" th:text="${session.message}" th:if="${not #strings.isEmpty(session.message)}"></p>
                            <div class="mt-3">
                                <button type="submit" class="btn btn-block btn-gradient-primary btn-lg font-weight-medium auth-form-btn">登录</button>
                            </div>
                            <div class="my-2 d-flex justify-content-between align-items-center">
                                <div class="form-check">
                                    <label class="form-check-label text-muted">
                                        <input type="checkbox" class="form-check-input">
                                        Keep me signed in
                                    </label>
                                </div>
                            </div>
                            <div class="text-center mt-4 font-weight-light">
                                Don't have an account? <a href="Customer-register" class="text-primary">创建游客账号</a>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <!-- content-wrapper ends -->
    </div>
    <!-- page-body-wrapper ends -->
</div>
<!-- container-scroller -->
<!-- plugins:js -->
<script src="vendors/js/vendor.bundle.base.js"></script>
<script src="vendors/js/vendor.bundle.addons.js"></script>
<!-- endinject -->
<!-- inject:js -->
<script src="js/off-canvas.js"></script>
<script src="js/misc.js"></script>
<!-- endinject -->
</body>

</html>
